<template>
   <el-card>
        <el-header>
            <el-breadcrumb separator="/">
                <el-breadcrumb-item v-for="item in items" :key="item.value">{{item}}</el-breadcrumb-item>
            </el-breadcrumb>
        </el-header>
        <slot></slot>
        </el-card>
</template>

<script setup lang="ts">
defineProps({
    items:{
        type:Array,
        required:true,
    }

})
</script>

<style scoped>
.el-breadcrumb {
    height: 30px;
    line-height: 30px;
}
</style>